package it.webrules.deploymanager.core.dy.jmxutil;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.rmi.server.RMISocketFactory;

public class SocketFactoryLessTimeout extends RMISocketFactory {

	@Override
	public ServerSocket createServerSocket(int port) throws IOException {
		return new ServerSocket(port);
	}

	@Override
	public Socket createSocket(String host, int port) throws IOException {
		return new SocketLessTimeout(host, port);
	}


}
